
package common.constants;

import common.utils.PropertiesTools;


/**
 * 配置文件
 * @author Administrator
 *
 */
public class CommProperites {

	private static final String CommonProperties         = "configuration.properties";

	/**
	 * 默认密码 --888888
	 */
	public static final String DEFAULT_PASS = PropertiesTools.getProperties(CommonProperties, "default_pass");
	
	/**
	 * 订单失效时间 --45
	 */
	public static final int time_out_minutes = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "time_out_minutes"));
	/**
	 * 收银员角色id --7
	 */
	public static final String ASSIS_ROLE_ID = PropertiesTools.getProperties(CommonProperties, "assistant_role_id");
	/**
	 * 支付回调接口 
	 */
	public static final String BACK_URL = PropertiesTools.getProperties(CommonProperties, "back_url");
	/**
	 * 前台网关支付回调接口
	 */
	public static final String BACK_Front_URL = PropertiesTools.getProperties(CommonProperties, "back_front_url");
	
	/**
	 * 退款回调接口
	 */
	public static final String BACK_URL_RETURNS = PropertiesTools.getProperties(CommonProperties, "back_url_returns");
	
	/**
	 * 未支付订单--1
	 */
	public static final int ORDER_UN_PAY = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ORDER_UN_PAY"));
	/**
	 * 验证中--8
	 */
	public static final int ORDER_CHECKING = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ORDER_CHECKING"));
	
	/**
	 * 待验证订单--2
	 */
	public static final int ORDER_CHECK_READY = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ORDER_CHECK_READY"));
	
	/**
	 * 取消订单--6
	 */
	public static final int ORDER_CANCEL = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ORDER_CANCEL"));
	/**
	 * 完成订单--5
	 */
	public static final int ORDER_DONE = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ORDER_DONE"));
	
	/**
	 * 退款中--7
	 */
	public static final int PAY_RETURNNING = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "PAY_RETURNNING"));
	/**
	 * 全部退款成功--4
	 */
	public static final int ALL_PAY_RETURN_DONE = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ALL_PAY_RETURN_DONE"));
	
	/**
	 * 全部退款成功--9
	 */
	public static final int PART_PAY_RETURN_DONE = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "PART_PAY_RETURN_DONE"));
	
	/**
	 * 支付撤销--10
	 */
	public static final int PAY_CANCEL = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "PAY_CANCEL"));
	/**
	 * 支付撤销中--11
	 */
	public static final int PAY_CANCELING = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "PAY_CANCELING"));
	
	/**
	 * 手机支付成功--12
	 */
	public static final int MOBILE_PAY_SUCCESS = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "MOBILE_PAY_SUCCESS"));
	
	/**
	 * 支付退款路径
	 */
	public static final String backTransUrl4Rec = PropertiesTools.getProperties(CommonProperties, "acpsdk.backTransUrl4Rec");
	
	/**
	 * 退款保存--0
	 */
	public static final int RETURNS_SAVE = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "RETURNS_SAVE"));
	
	/**
	 * 退款成功--1
	 */
	public static final int RETURNS_SUCCESS = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "RETURNS_SUCCESS"));
	
	/**
	 * 退款失败--2
	 */
	public static final int RETURNS_FAIL = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "RETURNS_FAIL"));
	/**
	 * 等待上架--5
	 */
	public static final int ONSELL_WAIT = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ONSELL_WAIT"));
	
	/**
	 * 上架--3
	 */
	public static final int ONSELL = Integer.valueOf(PropertiesTools.getProperties(CommonProperties, "ONSELL"));
	
	/**
	 * 退款订单号间隔符--T
	 */
	public static final String RETURNS_ORDER_FLAG = PropertiesTools.getProperties(CommonProperties, "RETURNS_ORDER_FLAG");
	
	/**
	 * 支持退货 --1
	 */
	public static final String SUPPORT_RETURNS = PropertiesTools.getProperties(CommonProperties, "SUPPORT_RETURNS");
	
	/**
	 * 不支持退货 --0
	 */
	public static final String UN_SUPPORT_RETURNS = PropertiesTools.getProperties(CommonProperties, "UN_SUPPORT_RETURNS");
	
	/**
	 * 不可控支出报表模板 
	 */
	public static final String TICKET_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "TICKET_TEMPLATE_PATH");
	
	/**
	 * 对账表模板 
	 */
	public static final String GENRAL_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "GENRAL_TEMPLATE_PATH");
	
	/**
	 * 周对账表模板 
	 */
	public static final String GENRAL_WEEK_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "GENRAL_WEEK_TEMPLATE_PATH");
	
	/**
	 * 月对账表模板 
	 */
	public static final String GENRAL_MONTH_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "GENRAL_MONTH_TEMPLATE_PATH");
	
	/**
	 * 银联ID--0
	 */
	public static final String UNION_ID = PropertiesTools.getProperties(CommonProperties, "UNION_ID");
	/**
	 * 三方分润模板路径
	 */
	public static final String PROFIT_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "PROFIT_TEMPLATE_PATH");
	/**
	 * 成本模板路径
	 */
	public static final String COSTS_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "COSTS_TEMPLATE_PATH");
	
	/**
	 * 商户结算模板路径
	 */
	public static final String SETTLE_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "SETTLE_TEMPLATE_PATH");
	
	/**
	 * 商户清算模板路径
	 */
	public static final String SQUARE_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "SQUARE_TEMPLATE_PATH");
	
	/**
	 * 活动清算模板路径
	 */
	public static final String ACT_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "ACT_TEMPLATE_PATH");
	
	/**
	 * 商户周结算模板路径
	 */
	public static final String SETTLE_WEEK_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "SETTLE_WEEK_TEMPLATE_PATH");
	
	/**
	 * 商户月结算模板路径
	 */
	public static final String SETTLE_MONTH_TEMPLATE_PATH = PropertiesTools.getProperties(CommonProperties, "SETTLE_MONTH_TEMPLATE_PATH");
	
	
	/**
	 * 银联统一用户平台手机注册接口
	 */
	public static final String UC_MOBILE_REGISTER = PropertiesTools.getProperties(CommonProperties, "UC_MOBILE_REGISTER");
	
	/**
	 * 银联统一用户平台查看用户信息
	 */
	public static final String UC_GET_USER_INFO = PropertiesTools.getProperties(CommonProperties, "UC_GET_USER_INFO");
	
	/**
	 * 银联统一用户平台查看用户信息根据用户id
	 */
	public static final String UC_GET_USER_INFO_BYID = PropertiesTools.getProperties(CommonProperties, "UC_GET_USER_INFO_BYID");
	
	/**
	 * 银联统一用户平台修改用户密码
	 */
	public static final String UC_CHANGE_PASSWORD = PropertiesTools.getProperties(CommonProperties, "UC_CHANGE_PASSWORD");
	
	/**
	 * 银联统一用户平台重置用户密码
	 */
	public static final String UC_RESET_PASSWORD = PropertiesTools.getProperties(CommonProperties, "UC_RESET_PASSWORD");
	
	/**
	 * 银联统一用户平台登录验证
	 */
	public static final String UC_login = PropertiesTools.getProperties(CommonProperties, "UC_login");
	/**
	 * 银联统一用户平台短信发送
	 */
	public static final String UC_SMS_SEND = PropertiesTools.getProperties(CommonProperties, "UC_SMS_SEND");
	/**
	 * 银联统一用户平台验证码校验
	 */
	public static final String UC_VERIFY_SMS = PropertiesTools.getProperties(CommonProperties, "UC_VERIFY_SMS");
	/**
	 * 修改个人信息
	 */
	public static final String UC_UPDATE_USER_INFO = PropertiesTools.getProperties(CommonProperties, "UC_UPDATE_USER_INFO");
	
	/**
	 * 银联统一用户平台获取安全要素
	 */
	public static final String UC_GET_SAFE_INFO = PropertiesTools.getProperties(CommonProperties, "UC_GET_SAFE_INFO");
	
	/**
	 * 查看安全问题
	 */
	public static final String UC_GET_SECURITY_QUESTION = PropertiesTools.getProperties(CommonProperties, "UC_GET_SECURITY_QUESTION");
	/**
	 * 验证安全问题
	 */
	public static final String UC_VALIDATE_SECURITY_QUESTION = PropertiesTools.getProperties(CommonProperties, "UC_VALIDATE_SECURITY_QUESTION");
	
	/**
	 * 根据用户ID及卡号查询卡信息
	 */
	public static final String UC_GET_BANK_CARD = PropertiesTools.getProperties(CommonProperties, "UC_GET_BANK_CARD");
	
	/**
	 * 根据服务号获取用户银行卡
	 */
	public static final String UC_GET_BANK_CARD_BY_SERVICE = PropertiesTools.getProperties(CommonProperties, "UC_GET_BANK_CARD_BY_SERVICE");
	
	/**
	 * 根据用户ID及卡号查询卡重置密码
	 */
	public static final String RESET_PASS_BY_BINDCARD = PropertiesTools.getProperties(CommonProperties, "RESET_PASS_BY_BINDCARD");
	
	/**
	 * 百度url
	 */
	public static final String BAIDU_URL = PropertiesTools.getProperties(CommonProperties, "BAIDU_URL");
	/**
	 * 定时任务环境变量名称
	 */
	public static final String ENV_TASK_SWITCH = PropertiesTools.getProperties(CommonProperties, "ENV_TASK_SWITCH");
	

	
	/**
	 * APP_ID
	 */
	public static final String APP_ID = PropertiesTools.getProperties(CommonProperties, "APP_ID");
	/**
	 * APP_PWD
	 */
	public static final String APP_PWD = PropertiesTools.getProperties(CommonProperties, "APP_PWD");
	/**
	 * APP_KEY
	 */
	public static final String APP_KEY = PropertiesTools.getProperties(CommonProperties, "APP_KEY");
	
}
